
<script setup lang="ts">
import { computed, ref } from 'vue';

const aaa =ref(0)

const aa =computed(()=>{
return aaa.value*100
})

</script>

<template>
  <div class="page">
    <!--双向绑定-->
<input type="text" v-model="aaa">
  <h1>{{ aa }}</h1>
  </div>
</template>

<style scoped></style>
  